package com.shiguiwu.springmybatis.javabase.reflect;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * @description:
 * @author: stone
 * @date: Created by 2021/2/7 17:28
 * @version: 1.0.0
 * @pakeage: com.shiguiwu.springmybatis.reflect
 */
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Target({ElementType.METHOD,ElementType.FIELD})
public @interface AName {

    String name() default "石贵武";

    int age() default 18;
}
